package goldeye

import (
	"goweb/models/goldeye"
)

type FeedBackS struct {
	goldeye.FeedBack
}

func (fb *FeedBackS) GetFeedBack(page, size int, m map[string]interface{}) (bool, int, interface{}) {
	return goldeye.GetFeedBack(page, size, m)
}

/**
只修改标题
*/
func (fb *FeedBackS) UpdateFeedBack() bool {
	m := map[string]interface{}{
		"title":    fb.Title,
		"show_url": fb.ShowUrl,
	}
	return goldeye.UpdateFeedBack(fb.Id, m)
}
